<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<html>
<head>
<title>添加HR</title>
<!-- Bootstrap -->
<link
	href="${pageContext.request.contextPath }/bootstrap/css/bootstrap.min.css"
	rel="stylesheet" media="screen">
<link
	href="${pageContext.request.contextPath }/bootstrap/css/bootstrap-responsive.min.css"
	rel="stylesheet" media="screen">
<link
	href="${pageContext.request.contextPath }/vendors/easypiechart/jquery.easy-pie-chart.css"
	rel="stylesheet" media="screen">
<link href="${pageContext.request.contextPath }/assets/styles.css"
	rel="stylesheet" media="screen">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
            <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
<script
	src="${pageContext.request.contextPath }/vendors/modernizr-2.6.2-respond-1.1.0.min.js"></script>
</head>

<body>
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container-fluid">
				<a class="btn btn-navbar" data-toggle="collapse"
					data-target=".nav-collapse"> <span class="icon-bar"></span> <span
					class="icon-bar"></span> <span class="icon-bar"></span>
				</a> <a class="brand" href="#">招聘系统</a>
				<div class="nav-collapse collapse">
					<ul class="nav pull-right">
						<li class="dropdown"><a href="#" role="button"
							class="dropdown-toggle" data-toggle="dropdown"> <i
								class="icon-user"></i>欢迎您,${hr.name}&nbsp;
								<i class="caret"></i>
						</a>
							<ul class="dropdown-menu">
								<li><a tabindex="-1" href="WorkerServlet?method=logout">退出</a></li>
							</ul></li>
					</ul>
					<ul class="nav">
						<li class="active"><a href="#">简历投递</a></li>
						<li class="dropdown"><a href="#" data-toggle="dropdown"
							class="dropdown-toggle">HR管理 <b class="caret"></b></a>
							<ul class="dropdown-menu" id="menu1">
							  <li><a href="addHR.jsp">添加HR</a></li>
							  <li><a href="ToAllHRsPageServlet">所有HR</a></li>
							</ul>
					  </li><li class="dropdown"><a href="#" data-toggle="dropdown"
							class="dropdown-toggle">招聘管理 <b class="caret"></b></a>
							<ul class="dropdown-menu" id="menu1">
							  <li><a href="addRecruitmentMessage.jsp">发布招聘</a></li>
							  <li><a href="ToAllRecruitmentPageServlet">所有招聘</a></li>
							  <li><a href="ToAllHRsPageServlet">简历分配</a></li>
							</ul>
					  </li>
					</ul>
				</div>
				<!--/.nav-collapse -->
			</div>
		</div>
	</div>
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span2" id="sidebar">
				<ul class="nav nav-list bs-docs-sidenav nav-collapse collapse">
					<li class="active"><a><i class="badge badge-success pull-right"></i>HR管理</a></li>
					<li><a href="addHR.jsp"><i class="icon-chevron-right"></i>添加HR</a></li>
					<li><a href="ToAllHRsPageServlet"><i class="icon-chevron-right"></i>所有HR</a></li>
					
					<li class="active"><a><i class="badge badge-success pull-right"></i>招聘管理</a></li>
					<li><a href="addRecruitmentMessage.jsp"><i class="icon-chevron-right"></i>发布招聘</a></li>
					<li><a href="ToAllRecruitmentPageServlet"><i class="icon-chevron-right"></i>所有招聘</a></li>
					<li><a href="ToAllHRsPageServlet"><i class="icon-chevron-right"></i>简历分配</a></li>
				
					<li class="active"><a><i class="badge badge-success pull-right"></i>退出</a></li>
					<li><a href="CompanyManagerServlet?method=logout"><i class="icon-chevron-right"></i>退出登录</a></li>
				</ul>
			</div>

			<!--/span-->
			<div class="span10" id="content">
				<c:if test="${!empty message }">
					<div class="row-fluid">
						<div class="alert alert-success">
							<button type="button" class="close" data-dismiss="alert">&times;</button>
							<h4>提示</h4>
							${message }
						</div>
					</div>
				</c:if>
				<div class="row-fluid">
                         <!-- block -->
                        <div class="block">
                            <div class="navbar navbar-inner block-header">
                                <div class="muted pull-left">添加HR</div>
                            </div>
                            <div class="block-content collapse in">
                    <div class="span12">
					<!-- BEGIN FORM-->
					<form action="CompanyManagerServlet" id="form_sample_1" class="form-horizontal">
						<fieldset>
					        <input type="hidden" name="method" value="addHR"/>
  							
  							<div class="control-group">
  								<label class="control-label">name<span style="color:red" class="required">*</span></label>
  								<div class="controls">
  									<input type="text" name="name" data-required="1" class="span6 m-wrap"/>
  								</div>
  							</div>
  							<div class="control-group">
  								<label class="control-label">password<span style="color:red" class="required">*</span></label>
  								<div class="controls">
  									<input type="text" name="password" data-required="1" class="span6 m-wrap"/>
  								</div>
  							</div>
  							<div class="control-group">
  								<label class="control-label">email<span style="color:red" class="required">*</span></label>
  								<div class="controls">
  									<input type="text" name="email" data-required="1" class="span6 m-wrap"/>
  								</div>
  							</div>
  							<div class="control-group">
  								<label class="control-label">phone<span style="color:red" class="required">*</span></label>
  								<div class="controls">
  									<input type="text" name="phone" data-required="1" class="span6 m-wrap"/>
  								</div>
  							</div>
  							<div class="form-actions">
  								<input type="submit" class="btn btn-primary" value="提交" />
  								<button type="button" class="btn">取消</button>
  							</div>
						</fieldset>
					</form>
					<!-- END FORM-->
				</div>
			    </div>
			</div>
                     	<!-- /block -->
		    </div>
			</div>
		</div>
		<hr>
	</div>
	<!--/.fluid-container-->
	<script
		src="${pageContext.request.contextPath }/vendors/jquery-1.9.1.min.js"></script>
	<script
		src="${pageContext.request.contextPath }/bootstrap/js/bootstrap.min.js"></script>
	<script
		src="${pageContext.request.contextPath }/vendors/easypiechart/jquery.easy-pie-chart.js"></script>
	<script src="${pageContext.request.contextPath }/assets/scripts.js"></script>
	<script>
		$(function() {
			// Easy pie charts
			$('.chart').easyPieChart({
				animate : 1000
			});
		});
	</script>
</body>
</html>
